[INFO] cloning repository https://github.com/adumbidiot/scratch-native
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adumbidiot/scratch-native" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fscratch-native", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fscratch-native'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e863c88779e21ce8d8151e459738dcff9d72b3d
[INFO] building adumbidiot/scratch-native against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fscratch-native" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/adumbidiot/scratch-native on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/adumbidiot/scratch-native
[INFO] finished tweaking git repo https://github.com/adumbidiot/scratch-native
[INFO] tweaked toml for git repo https://github.com/adumbidiot/scratch-native written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/adumbidiot/scratch-native already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 64bfc5ad6f881dda032059a3a10c2f8fb8c612952fe02983c7c336aa8a72fa05
[INFO] running `Command { std: "docker" "start" "-a" "64bfc5ad6f881dda032059a3a10c2f8fb8c612952fe02983c7c336aa8a72fa05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "64bfc5ad6f881dda032059a3a10c2f8fb8c612952fe02983c7c336aa8a72fa05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64bfc5ad6f881dda032059a3a10c2f8fb8c612952fe02983c7c336aa8a72fa05", kill_on_drop: false }`
[INFO] [stdout] 64bfc5ad6f881dda032059a3a10c2f8fb8c612952fe02983c7c336aa8a72fa05
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 00410a30e5e6d93e8f4f1febdd2317c957947994247ca3947f706855f6fe8f3c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "00410a30e5e6d93e8f4f1febdd2317c957947994247ca3947f706855f6fe8f3c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling cc v1.0.26
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling itoa v0.4.3
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling serde v1.0.82
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]    Compiling adler32 v1.0.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.19
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling try_from v0.3.2
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling textwrap v0.10.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.24
[INFO] [stderr]    Compiling smallvec v0.6.7
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling want v0.2.0
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling quote v0.6.10
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling syn v0.15.23
[INFO] [stderr]    Compiling deflate v0.7.19
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling openssl-sys v0.9.63
[INFO] [stderr]    Compiling libz-sys v1.0.25
[INFO] [stderr]    Compiling curl-sys v0.4.15
[INFO] [stderr]    Compiling nsvg v0.5.0
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling hyper v0.12.36
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.18
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num_cpus v1.10.0
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling memchr v2.1.2
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling termios v0.3.1
[INFO] [stderr]    Compiling clicolors-control v0.3.1
[INFO] [stderr]    Compiling socket2 v0.3.8
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling number_prefix v0.2.8
[INFO] [stderr]    Compiling backtrace v0.3.57
[INFO] [stderr]    Compiling flate2 v1.0.20
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling clap v2.32.0
[INFO] [stderr]    Compiling mio v0.6.19
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling aho-corasick v0.6.9
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling openssl v0.10.34
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling http v0.1.21
[INFO] [stderr]    Compiling tokio-buf v0.1.1
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling png v0.12.0
[INFO] [stderr]    Compiling regex v1.1.0
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling parking_lot v0.7.0
[INFO] [stderr]    Compiling publicsuffix v1.5.6
[INFO] [stderr]    Compiling cookie v0.12.0
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling console v0.7.1
[INFO] [stderr]    Compiling http-body v0.1.0
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling serde_derive v1.0.82
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling indicatif v0.10.3
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling image v0.19.0
[INFO] [stderr]    Compiling curl v0.4.19
[INFO] [stderr]    Compiling hyper-tls v0.3.2
[INFO] [stderr]    Compiling serde_json v1.0.33
[INFO] [stderr]    Compiling serde_urlencoded v0.5.5
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling cookie_store v0.7.0
[INFO] [stderr]    Compiling reqwest v0.9.24
[INFO] [stderr]    Compiling scratch v0.1.0 (/opt/rustwide/workdir/lib/scratch)
[INFO] [stderr]    Compiling scratch-native v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PlaySoundAndWait`
[INFO] [stdout]   --> src/scratch/api/types/json.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     PlaySoundAndWait,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/scratch/utils.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     logger: Box<DirCreaterLogger>,
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DirCreaterLogger`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProjectJson`, `util::FileCreater`
[INFO] [stdout]   --> src/scratch.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         ProjectJson,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     util::FileCreater,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/main.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 131 |     return;
[INFO] [stdout]     |     ------ any code following this expression is unreachable
[INFO] [stdout] 132 |     print!("Building Project... ");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/scratch/api/types/block.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 106 | /         match key {
[INFO] [stdout] 107 | |             "PlaySoundAndWait" => {
[INFO] [stdout] 108 | |                 let block: PlaySoundAndWait = map
[INFO] [stdout] 109 | |                     .next_value::<Option<PlaySoundAndWait>>()?
[INFO] [stdout] ...   |
[INFO] [stdout] 118 | |             }
[INFO] [stdout] 119 | |         }
[INFO] [stdout]     | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 120 |           return Ok(Block::WhenStart);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `target::Target`
[INFO] [stdout]  --> src/scratch.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     target::Target,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matches`
[INFO] [stdout]    --> src/main.rs:108:27
[INFO] [stdout]     |
[INFO] [stdout] 108 |         ("old_main", Some(matches)) => {
[INFO] [stdout]     |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/scratch/api/mod.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn from(err: curl::Error) -> Self {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/scratch/api/mod.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn from(err: std::string::FromUtf8Error) -> Self {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `project`
[INFO] [stdout]    --> src/scratch/api/targets.rs:289:25
[INFO] [stdout]     |
[INFO] [stdout] 289 |     fn build(&mut self, project: &mut Project, path: &PathBuf) -> TargetResult<()> {
[INFO] [stdout]     |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/scratch/api/targets.rs:289:48
[INFO] [stdout]     |
[INFO] [stdout] 289 |     fn build(&mut self, project: &mut Project, path: &PathBuf) -> TargetResult<()> {
[INFO] [stdout]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `project`
[INFO] [stdout]    --> src/scratch/api/targets.rs:293:24
[INFO] [stdout]     |
[INFO] [stdout] 293 |     fn test(&mut self, project: &mut Project, path: &PathBuf) -> TargetResult<()> {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/scratch/error.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn from(err: ()) -> Error {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `has_cython`
[INFO] [stdout]   --> src/scratch/target.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let has_cython = test_import("cython")?;
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_cython`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |                         let mut project =
[INFO] [stdout]    |                             ----^^^^^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:79:29
[INFO] [stdout]    |
[INFO] [stdout] 79 |                         let mut project = api
[INFO] [stdout]    |                             ----^^^^^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 let mut project = api.get_stats(code).expect("Error getting project json");
[INFO] [stdout]    |                     ----^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let mut project: Project = Project::load(path.clone()).unwrap();
[INFO] [stdout]     |                 ----^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/scratch/api/targets.rs:128:13
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let mut body = project
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/scratch/api/types/mod.rs:77:50
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn init(&mut self, api: &mut super::Api, mut path: PathBuf) -> ApiResult<()> {
[INFO] [stdout]    |                                                  ----^^^^
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/scratch/target.rs:150:13
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let mut path = project.get_build_path(self);
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `write_file`
[INFO] [stdout]   --> src/scratch/api/targets.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn write_file(path: &PathBuf, data: &[u8]) -> Result<(), std::io::Error> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Custom`
[INFO] [stdout]   --> src/scratch/api/types/block.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Custom { arr: Vec<String> },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_save_path`
[INFO] [stdout]   --> src/scratch/api/types/mod.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn get_save_path(&mut self, mut path: PathBuf) -> PathBuf {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `init`
[INFO] [stdout]   --> src/scratch/api/types/mod.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn init(&mut self, api: &mut super::Api, mut path: PathBuf) -> ApiResult<()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_asset`
[INFO] [stdout]   --> src/scratch/api/mod.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn get_asset(&mut self, name: &str) -> ApiResult<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `with_logger`
[INFO] [stdout]   --> src/scratch/utils.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn with_logger<T: DirCreaterLogger + 'static>(&mut self, logger: T) -> &mut Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 118 |     std::fs::remove_dir_all("projects/scratch_239742347/target/js");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 28 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 04s
[INFO] running `Command { std: "docker" "inspect" "00410a30e5e6d93e8f4f1febdd2317c957947994247ca3947f706855f6fe8f3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00410a30e5e6d93e8f4f1febdd2317c957947994247ca3947f706855f6fe8f3c", kill_on_drop: false }`
[INFO] [stdout] 00410a30e5e6d93e8f4f1febdd2317c957947994247ca3947f706855f6fe8f3c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 18aa9009950cf9bebcfcd1088a3e7da6625fd9b733d7a8a52eb99008e8ac6619
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "18aa9009950cf9bebcfcd1088a3e7da6625fd9b733d7a8a52eb99008e8ac6619", kill_on_drop: false }`
[INFO] [stderr]    Compiling scratch-native v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PlaySoundAndWait`
[INFO] [stdout]   --> src/scratch/api/types/json.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     PlaySoundAndWait,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/scratch/utils.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     logger: Box<DirCreaterLogger>,
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DirCreaterLogger`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProjectJson`, `util::FileCreater`
[INFO] [stdout]   --> src/scratch.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         ProjectJson,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     util::FileCreater,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/main.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 131 |     return;
[INFO] [stdout]     |     ------ any code following this expression is unreachable
[INFO] [stdout] 132 |     print!("Building Project... ");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/scratch/api/types/block.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 106 | /         match key {
[INFO] [stdout] 107 | |             "PlaySoundAndWait" => {
[INFO] [stdout] 108 | |                 let block: PlaySoundAndWait = map
[INFO] [stdout] 109 | |                     .next_value::<Option<PlaySoundAndWait>>()?
[INFO] [stdout] ...   |
[INFO] [stdout] 118 | |             }
[INFO] [stdout] 119 | |         }
[INFO] [stdout]     | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 120 |           return Ok(Block::WhenStart);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `target::Target`
[INFO] [stdout]  --> src/scratch.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     target::Target,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matches`
[INFO] [stdout]    --> src/main.rs:108:27
[INFO] [stdout]     |
[INFO] [stdout] 108 |         ("old_main", Some(matches)) => {
[INFO] [stdout]     |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/scratch/api/mod.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn from(err: curl::Error) -> Self {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/scratch/api/mod.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn from(err: std::string::FromUtf8Error) -> Self {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `project`
[INFO] [stdout]    --> src/scratch/api/targets.rs:289:25
[INFO] [stdout]     |
[INFO] [stdout] 289 |     fn build(&mut self, project: &mut Project, path: &PathBuf) -> TargetResult<()> {
[INFO] [stdout]     |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/scratch/api/targets.rs:289:48
[INFO] [stdout]     |
[INFO] [stdout] 289 |     fn build(&mut self, project: &mut Project, path: &PathBuf) -> TargetResult<()> {
[INFO] [stdout]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `project`
[INFO] [stdout]    --> src/scratch/api/targets.rs:293:24
[INFO] [stdout]     |
[INFO] [stdout] 293 |     fn test(&mut self, project: &mut Project, path: &PathBuf) -> TargetResult<()> {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/scratch/error.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn from(err: ()) -> Error {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `has_cython`
[INFO] [stdout]   --> src/scratch/target.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let has_cython = test_import("cython")?;
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_cython`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |                         let mut project =
[INFO] [stdout]    |                             ----^^^^^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:79:29
[INFO] [stdout]    |
[INFO] [stdout] 79 |                         let mut project = api
[INFO] [stdout]    |                             ----^^^^^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 let mut project = api.get_stats(code).expect("Error getting project json");
[INFO] [stdout]    |                     ----^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let mut project: Project = Project::load(path.clone()).unwrap();
[INFO] [stdout]     |                 ----^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/scratch/api/targets.rs:128:13
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let mut body = project
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/scratch/api/types/mod.rs:77:50
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn init(&mut self, api: &mut super::Api, mut path: PathBuf) -> ApiResult<()> {
[INFO] [stdout]    |                                                  ----^^^^
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/scratch/target.rs:150:13
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let mut path = project.get_build_path(self);
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `write_file`
[INFO] [stdout]   --> src/scratch/api/targets.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn write_file(path: &PathBuf, data: &[u8]) -> Result<(), std::io::Error> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Custom`
[INFO] [stdout]   --> src/scratch/api/types/block.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Custom { arr: Vec<String> },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_save_path`
[INFO] [stdout]   --> src/scratch/api/types/mod.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn get_save_path(&mut self, mut path: PathBuf) -> PathBuf {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `init`
[INFO] [stdout]   --> src/scratch/api/types/mod.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn init(&mut self, api: &mut super::Api, mut path: PathBuf) -> ApiResult<()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_asset`
[INFO] [stdout]   --> src/scratch/api/mod.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn get_asset(&mut self, name: &str) -> ApiResult<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `with_logger`
[INFO] [stdout]   --> src/scratch/utils.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn with_logger<T: DirCreaterLogger + 'static>(&mut self, logger: T) -> &mut Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 118 |     std::fs::remove_dir_all("projects/scratch_239742347/target/js");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 28 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.57s
[INFO] running `Command { std: "docker" "inspect" "18aa9009950cf9bebcfcd1088a3e7da6625fd9b733d7a8a52eb99008e8ac6619", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18aa9009950cf9bebcfcd1088a3e7da6625fd9b733d7a8a52eb99008e8ac6619", kill_on_drop: false }`
[INFO] [stdout] 18aa9009950cf9bebcfcd1088a3e7da6625fd9b733d7a8a52eb99008e8ac6619
